package com.alibaba.ecool.service;

import java.util.List;
import java.util.Random;

import com.alibaba.ecool.bean.ClozeContent;
import com.alibaba.ecool.bean.ClozeQuestion;
import com.alibaba.ecool.dao.ClozeContentDAO;
import com.alibaba.ecool.dao.ClozeDAO;
import com.alibaba.ecool.dao.ClozeQuestionDAO;

public interface ClozeEditService {

	public ClozeContentDAO getClozeContentDAO() ;
	public void setClozeContentDAO(ClozeContentDAO clozeContentDAO) ;
	public ClozeDAO getClozeDAO() ;
	public void setClozeDAO(ClozeDAO clozeDAO) ;
	public ClozeQuestionDAO getClozeQuestionDAO() ;
	public void setClozeQuestionDAO(ClozeQuestionDAO clozeQuestionDAO) ;

	
	public void SetDomain(String testsort) ;
	public int getClozeCount(String testsort,int maxDiff, int minDiff) ;
	
	public ClozeContent randomCloze(String testsort) ;
	public String getContent(ClozeContent clozeContent) ;
	public List getQuestion(ClozeContent clozeContent) ;
	
}
